package com.example.demo.demos.web;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * agv IP地址配置
 * @TableName ip_config
 */
@Data
@Component
@AllArgsConstructor
@NoArgsConstructor
public class IpConfig implements Serializable {
    /**
     * ip地址
     */
    @Value("${tsk.ip}")
    private String ip;

    /**
     * 端口
     */
    @Value("${tsk.port}")
    private String port;

}